import request from '@/utils/request'
import { addToken } from '@/utils/auth'

export function getQueryByOrg(queryData) {
	var params ={'appType': 'app'}
	addToken(params)
	return request({
		baseURL: '',
		url: '/api/allinpay.stat.all/statall/products/queryByOrg',
		method: 'post',
		params,
		data: queryData
	})
}

export function getXedProductList() {
  var params = {}
  addToken(params)
  return request({
    baseURL: '',
    url: '/api/allinpay.xed.product.aggregation/product/aggregator/getXedProductListByParams',
    method: 'post',
    params
  })
}
